//接收者任务列表的复选框组件
var taskReceiverListCheckBox = Ext.create('Ext.selection.CheckboxModel', {
    listeners: {
        selectionchange: function(sm, selections) {
        	taskReceiverList.down('#receiverCompleteButton').setDisabled(selections.length === 0);
        }
    }
});

//发送任务列表的复选框组件
var taskResponseListCheckBox = Ext.create('Ext.selection.CheckboxModel', {
    listeners: {
        selectionchange: function(sm, selections) {
        	taskResponseList.down('#responserRemoveButton').setDisabled(selections.length === 0);
        	taskResponseList.down('#responserEditButton').setDisabled(selections.length != 1);
        }
    }
});

//选择任务收件人列表的复选框组件
var chooseTaskReceiverCheckBox = Ext.create('Ext.selection.CheckboxModel', {
    listeners: {
        selectionchange: function(sm, selections) {
        	chooseReciverGridWin.down('#chooseReciverGridWinBtn').setDisabled(
    				selections.length === 0);
        }
    }
});